<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>重点违规信息</span>
    </div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="违规时间"> </el-table-column>
      <el-table-column prop="columnB" label="违规类型"> </el-table-column>
      <el-table-column prop="columnC" label="违规地区（省）"> </el-table-column>
      <el-table-column prop="columnD" label="人数占比（百分比）">
      </el-table-column>
      <el-table-column prop="columnE" label="是否处理"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  data() {
    return {
      tableData: [
        {
          columnA: '2020.1',
          columnB: '终端欠费',
          columnC: '广东',
          columnD: '0.1',
          columnE: '否'
        },
        {
          columnA: '2020.3',
          columnB: '终端越狱',
          columnC: '福建',
          columnD: '0.2',
          columnE: '是'
        },
        {
          columnA: '2020.4',
          columnB: '终端欠费',
          columnC: '江西',
          columnD: '0.1',
          columnE: '否'
        },
        {
          columnA: '2020.4',
          columnB: '终端欠费',
          columnC: '河南',
          columnD: '0.1',
          columnE: '否'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
